//package com.he.demo.controller;
//
//import com.he.demo.service.HelloService;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.annotation.Resource;
//
///**
// * @author heyanjing
// * date:2021-02-23 2021/2/23 0023:15:15
// */
//@RestController
//public class HelloController {
//    @Resource
//    private HelloService helloService;
//
//    @GetMapping("/hello/sayHello")
//    public String sayHello(String name){
//        String result = helloService.sayHello(name);
//        return result;
//    }
//    @GetMapping("/hello/sayHello2")
//    public String sayHello2(String name){
//        String result = helloService.sayHello2(name);
//        return result;
//    }
//}
